package {{.tf.Package}};
{{- $model := toCamel .table.Name}}
{{- .ctx.Set "fileName" $model}}

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
{{- range .table.Packages}}
import {{.}};
{{- end}}

@TableName("{{.table.Name}}")
@Data
public class {{toCamel .table.Name}} implements Serializable {

    private static final long serialVersionUID = 1L;
{{range .table.Columns}}
    /**
     * {{.Comment}}
     */
    private {{.LangDataType}} {{toCamelLower .Name}};
{{end}}
}

